label: Io AR for on ad as res type php
// simplexml_load_string parses two types of XML $ res = '
010001000249
1009011719781282
1411957176
13882524228
0096
delivrd
Sichuan
Suining
4
1
010001000249
10090117197
";}
Zone 1.168.192.in-ADDR. Arpa {
Type master;
File "192.168.1 ";
}
Create these two configuration files:
Touch/var/named/yesgo.com create the NS or cname record of WWW
Touch/var/named/192.168.1 create a Domain Name Pointer
After the configuration is complete, run the following command:
NDC restat
NSLookup
When NSLookup is run, an interactive command line is displayed. If www.yesgo.com is entered and its IP address is returned normally, the domain
)Common methods:Method: Getavailableblocks ()return: intExplanation: Returns the remaining blocks on the file system that can be used by the programMethod: Getblockcount ()return: intExplanation: Returns a total of blocks on the file systemMethod: Getblocksize ()return: intExplanation: Returns the size unit of a block of file system byteMethod: Getfreeblocks ()return: intExplanation: All remaining blocks on the file system are returned, including reservations that are not accessible by the gener
order to avoid trouble, please go directly into the character mode (CTRL+ALT+F2)2), log in to the root account (required)3), Input Vi/etc/sysconfig/network-scripts/ifcfg-eth04) except the Physical address (HWADDR) is all erased (enter and press I to enter edit mode) [if you are worried about the problem you can copy the original code to the real machine.]5), and then put the IP, gateway, mask, etc. into the input.As follows:Device= "Eth0"onboot= "Yes"Hwaddr= your physical address. Did you just
is very convenient to configure SMTP authentication in RedHat Linux 9.0. First, run the command to check whether the cyrus-sasl software package is installed.
# Rpm-qa grep sasl
Cyrus-sasl-2.1.10-4
Cyrus-sasl-plain-2.1.10-4
Cyrus-sasl-devel-2.1.10-4
Cyrus-sasl-md5-2.1.10-4
If not, run the "rpm-ivh cyrus-sasl *. rpm" command to install all software packages. Then open the/etc/mail/Sendmail. mc file and run the following command:
Dnl TRUST_AUTH_MECH ('digest-MD5 CRAM-MD5 login plain) dnl
Dnl defi
the d disk, add this section
Options Indexes FollowSymLinksAllowOverride AllOrder allow, denyAllow from allThis is very important. Next, we will put all the sites under the wwwroot directory for normal access.
Find
# Include conf/extra/httpd-vhosts.confCancel the previous # comment to make it take effect
Then you can go to the extra directory, set the httpd-vhosts.conf, add siteExample:
ServerAdmin webmaster @ domain name. comDocumentRoot "D:/wwwroot/Domain Name. com/www"ServerName domain name.
some remote access processes. Currently, there is no exception in Linux. in Linux, a process is required, that is, the system Daemon rpc. restat, I believe the daemon process is no stranger to everyone. Many services are usually started during Linux system boot. These services are Daemon Processes and run independently of terminals in the background.
Therefore, you must first check whether the system has enabled the rpc service by running the rpcinfo
and mobile phone memory.
Java. Lang. Object
Android. OS. statfs
Constructor:
Statfs (string path)
Public method:
Method: getavailableblocks ()
Return Value: int
Explanation: return the remaining blocks on the file system that can be used by the program.
Method: getblockcount ()
Return Value: int
Explanation: returns the total number of blocks in the file system.
Method: getblocksize ()
Return Value: int
Explanation: returns the size unit of a block in the fil
, Addr = 192.168.1.200, Name = MTA) dn1
Then generate the cf file and perform the test:
# M4 sendmail. mc> sendmail. cf# Service sendmail restat# Sendmail d0.1-bv root | grep SASLNetunix newdb nis pipelining sasl scanf starttls tcpwrappers # mark of successful modification
In the next test, Telnet to TCP port 25:
# Telnet localhost 25Ehlo localhostNote that the following information appears.250-xxxxxxxx250-xxxxxxx250-AUTH LOGIN CRAM-MD5 DIGEST-MD5250-
, there is no exception in Linux. in Linux, a process is required, that is, the system Daemon RPC. restat, I believe the daemon process is no stranger to everyone. Many services are usually started during Linux system boot. These services are Daemon Processes and run independently of terminals in the background.
Therefore, you must first check whether the system has enabled the RPC service by running the rpcinfo-p command.
As you can see, if
The original Lsof-i:port way to restart the Java program is often minor problems, where new scripts are improved and used in conjunction with Ansilbe, directly on scripts and samples.
restat-tm.sh
#!/bin/bashJava_home= "/usr/local/java/jdk1.8.0_25" # # #jdkApp_mainclass= "TM" # # #TM. jarApp_home= "/home/java/tm" ####/home/java/tm/***#java虚拟机启动参数Java_opts= "-ms512m-mx512m-xmn256m-djava.awt.headless=true-xx:maxpermsize=128m-dfile.encoding
start Rpcbind, boot start rpcbind write to/etc/rc.local, because Rpcbind and NFS have boot order, if you teach the system default rules boot from boot, occasionally boot sequence error, Cause the service to not work properlyStart the NFS service#service NFS Start StartView Status #service NFS status#service NFS Stop Stop#service NFS REStat Restart#netstat-ANTP | grep 2049 NFS Default port number 2049#chkconfig NFS Off//boot does not start NFS, boot R
the Wwwroot directory, to normal access.
Found it
#Include conf/extra/httpd-vhosts.confRemove the previous # annotation to make it effective
Then you can go to the extra directory, set up the httpd-vhosts.conf, add the siteExamples are as follows:
ServerAdmin webmaster@ domain name. comDocumentRoot "d:/wwwroot/domain name. com/www"ServerName domain name. comServeralias www. domain name. comErrorLog "d:/wwwroot/domain name. com/logs/domain name. Com-error.log"Customlog "d:/wwwroot/domain nam
Some of the orders to be used in 2016/7/3 are recorded here, to be continued ...
2016/7/4 More ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
View IP Address: windows:ipconfig/allLinux:ifconfig Ifdown disable the NIC;Ifup enable Nic; Netstat: Query network status;-T lists the TCP protocol ports;-U lists UDP protocol ports;-N does not use domain names and service names. Instead, use the IP address and port number-l lists only network services in the listening
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.